package top.mask.mq.utils;

import com.fasterxml.jackson.core.JsonEncoding;

/**
 * 睡眠工具类
 */
public class SleepUtil {
    public static void sleep(int second){
        try {
            Thread.sleep(1000 * second);
        }catch (Exception e){
            Thread.currentThread().interrupt();
        }
    }
}
